package com.surfilter.risk.mapper;

import com.surfilter.risk.entity.DynamicPunish;
import com.surfilter.risk.entity.Punish;
import com.surfilter.risk.entity.PunishWithBLOBs;

import java.util.List;
import java.util.Map;

public interface PunishMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PunishWithBLOBs record);

    int insertSelective(PunishWithBLOBs record);

    PunishWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PunishWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(PunishWithBLOBs record);

    int updateByPrimaryKey(Punish record);

    List<Map> seletDataFeed();

    DynamicPunish selectDynamicPunish();

    List<Map> selectUnit();

    String selectOneUnit(Integer id);
}